/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package practicasUnidad1;

/**
 *
 * @author Lab
 */
public class Mamo {

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {
        String g = "555";
        int a= Integer.parseInt(g);
        Double b = new Double(a);
        Byte c =new Byte(b.byteValue());
        Float h = new Float(c.floatValue());
        Integer i= new Integer(h.intValue());
        Short t = new Short(i.shortValue());
        Long l = new Long(t.longValue());
        boolean y= Boolean.parseBoolean(l.toString());

        System.out.println("int "+a);
        System.out.println("double "+b);
        System.out.println("byte " +c);
        System.out.println("float "+h);
        System.out.println("int "+i);
        System.out.println("short "+t);
        System.out.println("long "+l);
         System.out.println("boolean "+y);
    }

}

